//导出对象直接进行解构

// const { UTIL_NAME, formatCount, formatDate } = require("./utils.js")

// console.log(UTIL_NAME)
// console.log(formatCount())
// console.log(formatDate());


// 探讨require的本质
const bar = require("./bar.js")
console.log(bar.name)

setTimeout(() => {
  console.log(bar.name)
}, 4000)



